﻿using DevExpress.LookAndFeel;
using DevExpress.XtraBars.Docking;
using DevExpress.XtraBars.Localization;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MainUI
{
    public partial class MainForm : DevExpress.XtraBars.Ribbon.RibbonForm
    {
        public MainForm()
        {
            InitializeComponent();
            this.Size = Screen.PrimaryScreen.Bounds.Size;
            UserLookAndFeel.Default.SetSkinStyle("RDW 2014");
            BarLocalizer.Active = new BarTranslator();
            DockManagerResXLocalizer.Active = new DockingTranslator();
        }

        private void MainForm_Load(object sender, EventArgs e)
        {            
            this.TreeLeft.Nodes.FirstNode.ExpandAll();
        }
    }
}
